package com.bridgeintelligent.tag.customer.service;

import com.bridgeintelligent.tag.customer.entity.CustomersPage;
import com.bridgeintelligent.tag.customer.model.ChannelModel;
import com.bridgeintelligent.tag.customer.model.ChannelQueryModel;
import com.bridgeintelligent.tag.customer.vo.ChannelVO;

import java.util.List;

/**
 * @description
 * @author: grp 2021-02-21 23:06
 **/
public interface IChannelService {
    int countById(String id);

    int countByName(String name);

    void add(ChannelModel model);

    int countByNameAndNotId(String channelId, String channelName);

    void put(ChannelModel model);

    CustomersPage<ChannelVO> list(ChannelQueryModel model);

    void del(String id);

    ChannelVO getDetail(String id);

    List<ChannelVO> channels();

    List<ChannelVO> allChannels();
}
